package com.recSystem.Entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class UserDO {

    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String username;
    private String realname;
    private int gender;
    private int major;
    private String workplace;
    private String researchfield;
    private String email;
    private String phone;
    // Unix时间戳
    private String lastLogin;
    private String password;
    private Boolean rememberMe;
    private String salt;
}
